import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false
// -------------- router ------------------
import router from "./routes/index";
// ----------------- element-ui --------------
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);
// -------------------- 挂载 -------------------
new Vue({
    el: '#app',
    render: h => h(App),
    router
}).$mount('#app')
